<style>
    .tab-container {
        margin-bottom: 0px;
    }
</style>
<m-project-plan select-tab="layout" type="req">
    <div class="row">
        <div class="col-sm-8 panel-heading">
            <button class="btn btn-default" ng-click="submit()">PRD定版交付</button>
        </div>
        <div class="col-sm-12">
            <accordion close-others="false">
                <accordion-group heading="交付版本 " is-open="true">
                    <winit-table thdata="info.deliver.thData"
                                 page="info.deliver.page"
                                 data="info.deliver.list"
                                 is-user-search="false" 
                                 auto-height="false" 
                                 table-id="reqT" 
                                 table-height="300" 
                                 no-link="true">
                    </winit-table>
                </accordion-group>  
                <accordion-group heading="需求顺序" is-open="true">
                    <button class="btn btn-default" type="button" style="margin-bottom: 5px;border-radius: 10px;" ng-click="isSort(info.isIssueSort,'issue')" ng-show="!info.isIssueSort && info.req.list.datas.length!= 0">排序</button>
                    <span style="margin-left: 30px;" ng-show="!info.isIssueSort && info.req.list.datas.length!= 0">←点我进行排序</span>
                    <winit-table is-user-search="false"
                                 thdata="info.req.thData"
                                 page="info.req.page"
                                 data="info.req.list"
                                 find-td="updateIssue(info)"
                                 delete-blur="deleteIssue(info)"
                                 add-blur="addIssue(info)"
                                 up-blur="upIssue(info)"
                                 down-blur="downIssue(info)"
                                 is-index="info.req.index"
                                 auto-height="false"
                                 table-id="issueT"
                                 table-height="300"
                                 no-link="true"
                                 ng-show="!info.isIssueSort">
                    </winit-table>
                    <winit-sort ng-if="info.isIssueSort"  datas="info.req.list.datas" show-key="action" key="id"
                            commit-fun="issueSequenceParam(list);"></winit-sort>
                </accordion-group>
                <accordion-group heading="流程顺序" is-open="true">
                    <button class="btn btn-default" type="button" style="margin-bottom: 5px;border-radius: 10px;" ng-click="isSort(info.isFlowSort,'flow')" ng-show="!info.isFlowSort && info.flow.list.datas.length!=0">排序</button>
                    <span style="margin-left: 30px;" ng-show="!info.isFlowSort && info.flow.list.datas.length!=0">←点我进行排序</span>
                    <winit-table is-user-search="false"
                                 thdata="info.flow.thData"
                                 page="info.flow.page"
                                 data="info.flow.list"
                                 delete-blur="deleteFlow(info)"
                                 up-blur="upFlow(info)"
                                 down-blur="downFlow(info)"
                                 is-index="info.flow.index" 
                                 auto-height="false" 
                                 table-id="flowT" 
                                 table-height="300" 
                                 no-link="true"
                                 ng-show="!info.isFlowSort"
                                 >
                    </winit-table>
                    <winit-sort ng-if="info.isFlowSort"  datas="info.flow.list.datas" show-key="name" key="id"
                            commit-fun="flowSequenceParam(info);"></winit-sort>

                </accordion-group>
                <accordion-group heading="功能点顺序" is-open="true">
                         <button class="btn btn-default" type="button" style="margin-bottom: 5px;border-radius: 10px;" ng-click="isSort(info.isFunSort,'fun')" ng-show="!info.isFunSort && info.fun.list.datas.length!=0">排序</button>
                        <span style="margin-left: 30px;" ng-show="!info.isFunSort && info.fun.list.datas.length!=0">←点我进行排序</span>
                        <winit-table is-user-search="false"
                                     thdata="info.fun.thData"
                                     page="info.fun.page"
                                     data="info.fun.list"
                                     delete-blur="delFun(info)"
                                     up-blur="upFun(info)"
                                     down-blur="downFun(info)"
                                     is-index="info.fun.index" 
                                     auto-height="false" 
                                     table-id="funT" 
                                     table-height="300" 
                                     no-link="true"
                                     ng-show="!info.isFunSort"
                                     >
                        </winit-table>
                        <winit-sort ng-if="info.isFunSort"  datas="info.fun.list.datas" show-key="name" key="id"
                                commit-fun="featureSequenceParam(list);"></winit-sort>
                </accordion-group>
        </div>
    </div>
</m-project-plan>
<winit-settings btn-list="settings.btnEle"></winit-settings>